﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Honestysoft.Baseframework.WebUI;

namespace Honestysoft.Financing.WebUI.Module.Audit
{
    public partial class Index_AuditTable : System.Web.UI.Page
    {
        protected string Url = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            //Bu_AuditTable_List.aspx?ID=0&NodeType=0&FunctionID=<%=Request["FunctionID"]+"" %>
            //得到最大的批次及ID
            string maxId = new Honestysoft.Financing.BusinessLogic.Audit(Globals.CurrentConnStringName).GetMaxBatchID();
            Url = "Bu_AuditTable_List.aspx?ID=" + maxId + "&BatchID=" + maxId + "&NodeType=" + ((int)AuditUtils.AuditTreeNodeType.Batch).ToString() + "&FunctionID=" + Request.QueryString["FunctionID"];

        }
    }
}